<?php
/*
 * Created on Mar 20, 2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<div align="right">
<?php echo link_to('Indonesian', 'customer/changelanguage?type=malay'); ?>&nbsp;
|&nbsp;
<?php echo link_to('English', 'customer/changelanguage?type=en'); ?>&nbsp;
|&nbsp;
<?php echo link_to('Chinese', 'customer/changelanguage?type=cn'); ?>&nbsp;
</div>
<?php session_start(); 
		if (substr($_SERVER['HTTP_HOST'],0,4)=='www.')
  		{
  			$domainname=substr($_SERVER['HTTP_HOST'],4,strlen($_SERVER['HTTP_HOST'])-4);
  		}
  		else
  		{
  			$domainname=$_SERVER['HTTP_HOST'];
  		}  	
		$c = new Criteria();
		$c->add(TblConfigPeer::DOMAIN_NAME,$domainname);
		$info=TblConfigPeer::doSelectOne($c);
?>